﻿using Orchard.ContentManagement;
using Orchard.ContentManagement.Records;


namespace Hazza.eLearning.Models
{
    public class HazzaExamPart : ContentPart
    {
        public string Questions
        {
            get { return this.Retrieve(x => x.Questions); }
            set { this.Store(x => x.Questions, value); }
        }

        public string[] QuestionArray
        {
            get { return Questions.Split(','); }
        }
    }
}